<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>后台管理系统</title>
<link href="../Public/admin/css/golbal.css" rel="stylesheet" type="text/css" />
<link href="../Public/admin/css/webcon.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/Js/Jquery/jquery-1.4.4.min.js" type='text/javascript' language="javascript"></script>
</head>

<script language="JavaScript">
function check()
{ 
	var title=$("#title").val();
	title = $.trim(title);
	if(title=="")
	{
		alert("请输入正规的标题");
		return false;
	}
	if(title.length>20)
	{
		alert("请输入1~20位的标题");
		return false;
	}
	
	return true;
}
</script>
<body>
<div class="tittle">
<span>网站配置</span>
</div>
<div class="detab">
<form action="{:U('Config/index')}" method="post" onsubmit="return check();">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan="4" style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<if condition="($erorsta eq 2)">
	<tr>
		<td colspan="4" style="text-align:center; color:green;">{$error}</td>
	</tr>
</if>
<tr>
<td height="40"><span class="title">网站标题：</span></td>
<td colspan="2"><input type="text" id="title" name='title' value='{$fid.title}' style='border:1px solid #ccc;height:20px;line-height:20px'/></td>
<td></td>
</tr>
<tr>
<td  height="40"><span class="title">网站简介：</span></td>
<td colspan="2"><textarea style="width:276px;height:150px;border:1px solid #ccc" name='content'>{$fid.content}</textarea></td>
<td></td>
</tr>
<tr>
<td  height="40"><span class="title">网站关键字：</span></td>
<td colspan="2"><input type="text" name='sitekey'value="{$fid.sitekey}" style='border:1px solid #ccc;height:20px;line-height:20px'/></td>
<td><span>关键字用"|"隔开</span></td>
</tr>
<tr>
<td height="100"></td>
<td colspan="2" style="text-align:center; margin:0 auto" ><input type="submit" class="save_bt" value=""/></td>
<td></td>
</tr>
</tbody>
</table></form></div>


</body>
</html>
